<?php
require_once '../bin/Common/Guid.class.php';
require_once '../bin/DBA/DB.class.php';
require_once '../bin/DAL/CategoriesDAL.php';
require_once '../bin/BLL/CategoriesBLL.php';
require_once '../bin/DAL/Parameter.class.php';
$chsname = $_POST["txt_chsName"];
$engname = $_POST["txt_engName"];
$deuname = $_POST["txt_deuName"];
$guid = new Guid();
$gid = $guid->ToString();

$chs_array = array('name'=>$chsname,'guid'=>$gid);
$eng_array = array('name'=>$engname,'guid'=>$gid);
$deu_array = array('name'=>$deuname,'guid'=>$gid);
CategoriesBLL::SaveByChs_Categoriess($chs_array);
CategoriesBLL::SaveByEng_Categoriess($eng_array);
CategoriesBLL::SaveByDeu_Categoriess($deu_array);
?>